<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
require_once '../config.php';
$db=  mysqli_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME) or die('Không kết nối được CSDL');

function getAllUser()
{
    $sql = "SELECT * FROM `tbd_user`";
    return mysqli_query($db, $sql);
}
